<div class="modal fade" id="enchant-select-dialog" tabindex="-1" role="dialog" #enchantSelectElement (init)="init(enchantSelectElement)">
    <div class="modal-dialog modal-dialog-centered" role="document">
        <div class="modal-content bordered">
        <div class="modal-header">
            <div class="modal-title">Select Enchantment</div>
            <input type="text" class="text-input" placeholder="search..." (keyup)="searchFilter = $event.target.value">
        </div>
        <div class="modal-body" style="white-space: pre-line;">
            <enchant *ngFor="let enchant of enchants" [enchant]="enchant" [item]="item" (click)="onSelect(enchant)"></enchant>
        </div>
        <div class="modal-footer">
            <button type="button" class="btn short-button" data-dismiss="modal">Close</button>
        </div>
        </div>
    </div>
</div>
